﻿using System.Web.Mvc;

namespace BoneSystem.Extensions
{
    public class Button : Component
    {
        public new ButtonSettings Settings { get; set; }
        public override MvcHtmlString GetHtmlString()
        {
            
            return new MvcHtmlString(GetTag().ToString(TagRenderMode.Normal));
        }

        internal override AngularTag GetTag()
        {
            var ret = new AngularTag("input");
            ret.Attributes["type"] = "button";
            return ret;
        }
    }
}
